package com.fqgj.sentry.statistics.service;

import com.fqgj.report.statistics.entity.BiAuditStatisticEntity;

import java.util.List;

/**
 * Created by ykpbean kangping.ying@yuntu-inc.com
 *
 * @description
 * @create 2017-10-18 下午4:40
 */


public interface OverdueStatisticsService {

    /**
     * 审核逾期统计
     *
     * @param startDate
     * @param endDate
     * @param eventId
     * @param version
     * @param source
     * @param borrowType
     * @return
     */
    List<BiAuditStatisticEntity> selectRiskAuditStatistic(String startDate, String endDate,
                                                          Long eventId, String executorType, String version,
                                                          String source, Integer borrowType);

    /**
     * 根据条件获取 申请数
     *
     * @param startDate
     * @param endDate
     * @param eventId
     * @param source
     * @param borrowType
     * @param resultType
     * @return
     */
    Long selectApplyCnt(String startDate, String endDate, Long eventId,
                        String executorType, String version,
                        String source, Integer borrowType, Integer resultType);
}
